package negocio.beans;

import java.util.List;

import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import negocio.entidades.Conteudo;
import negocio.facades.ConteudoRemote;

/**
 * Session Bean implementation class ConteudoBean
 */
@Stateless
@LocalBean
public class ConteudoBean implements ConteudoRemote {
	@PersistenceContext(unitName="banco")
	private EntityManager em;
	
    /**
     * Default constructor. 
     */
    public ConteudoBean() {
        // TODO Auto-generated constructor stub
    }

	@Override
	public Conteudo salvar(Conteudo c) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void excluir(long id) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Conteudo> listar() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Conteudo consultarPorId(long id) {
		// TODO Auto-generated method stub
		return null;
	}

}
